﻿using SqlSugar;

namespace DoNet.Core.UnitOfWork
{
    public interface IUnitOfWork : IDisposable
    {
        SqlSugarScope? GetDbClient();

        void BeginTran();

        void CommitTran();
        void RollbackTran();
    }
}
